package cn.alusiaor.nacosdiscoveryclientcommom.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: zhuzhiping
 * @Description:
 * @Date: 2020/12/18 14:35
 */

@Configuration
@ConfigurationProperties(prefix = "demo")
public class DemoConfig {
    private static String name;
    private static String txt;

    public static String getName() {
        return name;
    }

    public void setName(String name) {
        DemoConfig.name = name;
    }

    public static String getTxt() {
        return txt;
    }

    public void setTxt(String txt) {
        DemoConfig.txt = txt;
    }
}
